// com.game.version
function main() {
    Java.perform(function x() {

            Java.use("com.game.version.ResManager").getRes.implementation = function (str){
               console.log(str)
                return this.getRes(str)
            }

        Java.use("com.game.version.ResManager").loadFile.implementation = function (str){


           console.log(str)

            return this.loadFile(str)
        }
    })




}


setImmediate(main)


//frida -U -f com.ggsg.aligames --no-pause -l ggsg.js
//frida -U -f com.android.DTComic --no-pause -l sys
//frida -U com.kugou.android -l sys
//frida -U --no-pause -f  com.ggsg.aligames -l ggsg.js





